function renderCustomDialog() {
  let customDialogStr = `
      <div class="customDialog">
          <div class="dialogBackdrop"></div> <!-- 背景透明层 -->
          <div class="dialogDom">
              <div class="dialogBorder" id="element">
                  <div class="dialogContent">
                      <div class="dzbz-loading">
                          <div></div><div></div><div></div><div></div><div></div>
                          <div></div><div></div><div></div>
                      </div>
                      <span class="dialogClose" onclick="dialogCloseFn()"></span>
                      <p class="dialogTitle" id="dialogTitle">
                          <span class="full-screen" onclick="poumianFullScreen(this)"></span>
                      </p>
                      <p class="dialogLine"></p>
                      <iframe id="dialogIframe" frameborder="0" src="" scrolling="no"></iframe>
                  </div>
              </div>
          </div>
      </div>
  `;
  $('#canvas').after(customDialogStr);
  $(document).ready(function () {
      $("#element").draggable();
  });
}

// 关闭弹框函数
function dialogCloseFn() {
  $(".customDialog").hide();
  $(".dialogTitle").html("");
  $("#autoPage").hide();
  $("#dialogIframe").attr("src", "");
  $(".dialogClose").off("click");
}
